package com.zhiyun.mapper;

import com.zhiyun.domain.Admin;

import java.util.List;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Admin record);

    Admin selectByUserName(String username);

    List<Admin> selectAll();
}